package ch.bfh.abhmcm.SoftwareEngineeringAndDesign.view.mainframe.authorizeRFCPanel.authorizeRFCPanelSubs.listeners;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JDialog;

public class CancleDialogButtonListener implements ActionListener {
	
	private JDialog dialog;

	public CancleDialogButtonListener(JDialog dialog){
		this.dialog = dialog;
	}
	@Override
	public void actionPerformed(ActionEvent arg0) {

		this.dialog.dispose();
	}

}
